﻿using System;
using FNN.Networks;

namespace FNN.Intervals
{
    [Serializable]
    public class PossibilityInterval : BaseInterval
    {
        /// <summary>
        ///     Номер сети
        /// </summary>
        public Network TargetNetwork { get; set; }

        /// <summary>
        ///     Конструктор по умолчанию
        /// </summary>
        public PossibilityInterval()
        {
            Start = 0.0;
            End = 0.0;
            TargetNetwork = null;
        }

        /// <summary>
        ///     Конструктор по умолчанию
        /// </summary>
        /// <param name="start">Начало интервала</param>
        /// <param name="end">Конец интервала</param>
        /// <param name="number">Номер сети</param>
        public PossibilityInterval(double start, double end, Network network)
        {
            Start = start;
            End = end;
            TargetNetwork = network;
        }
    }
}
